<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>

<script type="text/javascript">
	var num1 = 100;
	let num2 = 100;
	console.log(num1 === num2);
	
	if (true) {
		var a = 3;
		// es6有块级作用域,在{}里面用let来声明的变量,只在{}内有效
		let b = 4;
	}
	
	
	console.log(a);
	console.log(b);
	
	
	
</script>
